/**
 * @Description CustomerGrowthDaoImpl.java
 * @author xu_cc [18724000100@163.com]
 * @date 创建时间：2018年1月6日 下午5:39:13
 */
package com.solution.admin.report.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.solution.admin.report.dao.CustomerGrowthDao;
import com.solution.common.dao.impl.BaseDaoImpl;
import com.solution.common.entity.BaseEntity;

@Repository
public class CustomerGrowthDaoImpl extends BaseDaoImpl<BaseEntity> implements CustomerGrowthDao {

	public Integer getCustomerCountByDate(Map<String, Object> param) {
		return getSessionTemplate().selectOne(getStatement("getCustomerCountByDate"), param);
	}

	public Integer getCustomerTotal(Map<String, Object> param) {
		return getSessionTemplate().selectOne(getStatement("getCustomerTotal"), param);
	}

}
